home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / kernel / task.def < prev    next >
Encoding:
Text File  |  1995-04-12  |  1.2 KB  |  38 lines  |  [TEXT/R*ch]

  1. /* Definitions of all the task types in Xconq.
  2.    Copyright (C) 1993, 1994, 1995 Stanley T. Shebs.
  3.  
  4. Xconq is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.  See the file COPYING.  */
  8.  
  9. DEF_TASK("none", TASK_NONE, "", do_none_task)
  10.  
  11. /* In alphabetical order... */
  12.  
  13. DEF_TASK("build", TASK_BUILD, "uUnn", do_build_task)
  14.  
  15. DEF_TASK("research", TASK_RESEARCH, "un", do_research_task)
  16.  
  17. DEF_TASK("capture", TASK_CAPTURE_UNIT, "uS", do_capture_unit_task)
  18.  
  19. DEF_TASK("do-action", TASK_DO_ACTION, "na****", do_action_task)
  20.  
  21. DEF_TASK("hit-position", TASK_HIT_POSITION, "xyz", do_hit_position_task)
  22.  
  23. DEF_TASK("hit-unit", TASK_HIT_UNIT, "US", do_hit_unit_task)
  24.  
  25. DEF_TASK("move-dir", TASK_MOVEDIR, "dn", do_movedir_task)
  26.  
  27. DEF_TASK("move-to", TASK_MOVETO, "xyzn", do_moveto_task)
  28.  
  29. DEF_TASK("occupy", TASK_OCCUPY, "U", do_occupy_task)
  30.  
  31. DEF_TASK("pickup", TASK_PICKUP, "U", do_pickup_task)
  32.  
  33. DEF_TASK("repair", TASK_REPAIR, "U", do_repair_task)
  34.  
  35. DEF_TASK("resupply", TASK_RESUPPLY, "mU", do_resupply_task)
  36.  
  37. DEF_TASK("sentry", TASK_SENTRY, "n", do_sentry_task)
  38.